/*****************************************************************************
* Keppe Messenger (KMP) Keppe Project-Team User Messaging System
* Copyright (C) 2013-2014 Keppe Project-Team
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
*****************************************************************************/

#ifndef KPTLABEL_H
#define KPTLABEL_H

#include <QLabel>
#include "KGuiFw_shared.h"

class KGUIFWSHARED_EXPORT KPTLabel : public QLabel
{
    Q_OBJECT
public:
    explicit KPTLabel(QWidget *parent = 0);
    
protected:
    void mouseMoveEvent(QMouseEvent* ev);
    void mousePressEvent(QMouseEvent *ev);
    void mouseReleaseEvent(QMouseEvent* ev);

signals:
    void mouseMove(QMouseEvent* ev);
    void mousePress(QMouseEvent* ev);
    void mouseRelease(QMouseEvent* ev);
    
};

#endif // KPTLABEL_H
